<template>
  <div class="song-evaluate clearfix ">
    <div class="evaluate-title">
      <p>评价</p>
    </div>
    <div v-for="(element,index) in songconte.comment" class="evaluate-conter clearfix">
      <div class="left-right clearfix">
        <div class="evaluate-left">
          <img :src="element.user_icon" alt="">
          <span>{{ element.user_name }}</span>
        </div>
        <div class="evaluate-right">
          <i class="icon iconfont">&#xe72d;</i>
          <span>{{ element.comment_time }}</span>
        </div>
      </div>
      <p class="evaluate-written">{{ element.comment_cont}}</p>
      <div class="evaluate-icon ">
        <span>
          <i class="icon iconfont">&#xe634;</i>
          <i>{{ element.comment_zan}}</i>
        </span>
        <span>
          <i class="icon iconfont">&#xe630;</i>
          <i>{{element.comment_look }}</i>
        </span>
      </div>
    </div>
    </div>
  </div>
</template>
<script>
export default {
  name: 'SongEvaluate',
  data() {
    return {
    }
  },
  props:{
    songconte:{
      type:Object,
      default:function(){
        return {}
      }
    }
  }
}

</script>
<style lang="css" scoped>
.song-evaluate{
  margin-bottom: 0.2rem;
}
.evaluate-title{
  font-size: 0.16rem;
  background-color: #fff;
  padding: 0.1rem;
}
.evaluate-title p{
  border-left: 0.05rem solid #F68344;
  padding: 0 0.05rem;
  color: #000;
  font-size: 0.16rem;
}
.evaluate-conter{
  width: 100%;
  background-color: #fff;
  border-top: 1px solid #E6E6E6;
  padding-top: 0.15rem;
}
.left-right > div{
  float: left;
}
.evaluate-left{
  width: 63%; 
  font-size: 0.16rem; 
  padding: 0rem 0.05rem;
  padding-bottom: 0;
}
.evaluate-left img{
  border-radius: 50%;
  width: 0.4rem;
  height: 0.4rem;
}
.evaluate-right{
  font-size: 0.11rem;
  color: #898989;
  padding-right: 0.05rem;
  padding-top: 0.08rem;
}
.evaluate-right i{
  font-size: 0.2rem;
  padding: 0.02rem;
}
.evaluate-right span{
  font-size: 0.18rem;
  padding: 0.02rem;
  font-weight: normal;
}
.evaluate-written{
  font-size: 0.16rem;
  padding: 0.1rem;
  letter-spacing: 0.02rem;
  line-height: 0.23rem;
}
.evaluate-icon{
  font-size: 0.16rem;
  float: right;
  padding-right: 0.15rem;
  padding-bottom: 0.15rem;
}
.evaluate-icon span{
  margin-left: 0.1rem;
}
.evaluate-icon i{
  font-size: 0.16rem;
}
</style>
